package com.gko100.dao;

import java.util.List;

import com.gko100.model.Administrator;

public interface AdministratorDao {
	
	Administrator findAdminByAdminId(Integer adminId);
	
	void save(Administrator admin);
	
	void update(Administrator admin);
	
	void delete(Administrator admin);
	
	void delete(Integer adminId);
	
	int getAdminCount();
	
	List<Administrator> findAdminAll();
	
	List<Administrator> findAdminAll(int pageNo, int pageSize);
	
	Administrator findAdminByNameAndPass(String name, String password);

	Administrator findAdminByName(String name);

}
